#import cv2 
import os

num = 0
for file in os.listdir(path='/home/unionsys/Pictures/1/zhangai1/'):
    if num%3==1:
        os.remove('/home/unionsys/Pictures/1/zhangai1/'+file)
    num = num + 1
